package com.group01.community.mapper;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.group01.community.entity.ZyOwner;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.group01.community.entity.vo.ZyOwnerVO;


/**
 * <p>
 * 业主  Mapper 接口
 * </p>
 *
 * @author guoyuan
 * @since 2025-05-01
 */
public interface ZyOwnerMapper extends BaseMapper<ZyOwner> {

    /**
     * 业主信息模糊查询
     *
     * @param page              分页对象
     * @param zyOwnerVO         ZyOwnerVO对象
     * @return
     */
    IPage<ZyOwnerVO> sybase(IPage<ZyOwnerVO> page, ZyOwnerVO zyOwnerVO);

    IPage<ZyOwnerVO> queryOwnerBaseInfo(IPage<ZyOwnerVO> page, ZyOwnerVO zyOwnerVO);

    int insertZyOwner(ZyOwner zyOwner);
}
